home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / weeklydump / RCS / weeklydump.man,v < prev   
Encoding:
Text File  |  1991-09-28  |  5.4 KB  |  235 lines

  1. head     1.5;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.5
  10. date     91.09.28.15.57.10;  author kupfer;  state Exp;
  11. branches ;
  12. next     1.4;
  13.  
  14. 1.4
  15. date     91.09.28.15.54.23;  author shirriff;  state Exp;
  16. branches ;
  17. next     1.3;
  18.  
  19. 1.3
  20. date     91.08.29.19.13.30;  author kupfer;  state Exp;
  21. branches ;
  22. next     1.2;
  23.  
  24. 1.2
  25. date     91.08.26.11.48.14;  author shirriff;  state Exp;
  26. branches ;
  27. next     1.1;
  28.  
  29. 1.1
  30. date     90.12.17.18.20.12;  author kupfer;  state Exp;
  31. branches ;
  32. next     ;
  33.  
  34.  
  35. desc
  36. @Man page for the script that does full dumps.
  37. @
  38.  
  39.  
  40. 1.5
  41. log
  42. @Store the name of the host running the dumps in the .active file.
  43. @
  44. text
  45. @'\" Copyright 1990 Regents of the University of California
  46. '\" Permission to use, copy, modify, and distribute this
  47. '\" documentation for any purpose and without fee is hereby
  48. '\" granted, provided that this notice appears in all copies.
  49. '\" The University of California makes no representations about
  50. '\" the suitability of this material for any purpose.  It is
  51. '\" provided "as is" without express or implied warranty.
  52. '\" 
  53. '\" $Header: /sprite/src/admin/weeklydump/RCS/weeklydump.man,v 1.4 91/09/28 15:54:23 shirriff Exp Locker: kupfer $ SPRITE (Berkeley)
  54. '/" 
  55. .so \*(]ltmac.sprite
  56. .HS WEEKLYDUMP cmds
  57. .BS
  58. '\" Note:  do not modify the .SH NAME line immediately below!
  59. .SH NAME
  60. weeklydump \- Script to do weekly fully dumps
  61. .SH SYNOPSIS
  62. \fBweeklydump\fR [\fB\-i\fR] [\fIstartFs\fR]
  63. .SH OPTIONS
  64. .IP "\fIstartFs\fR" 15
  65. Start dumping with the named filesystem.
  66. .IP "\-i" 15
  67. Initialize the tape drives first with ``dump -s''.
  68. .BE
  69.  
  70. .SH DESCRIPTION
  71. .PP
  72. This script does full (level 0) dumps of all the filesystems that are
  73. normally backed up.  It is normally invoked manually over the weekend.
  74. .PP
  75. The script has hard-coded a list of tape devices.  It
  76. dumps filesystems onto the first tape until it gets an error.  It then
  77. continues with the second tape until the next error, etc.  If it runs
  78. out of tapes before all the filesystems have been dumped, it sends
  79. mail to the user 
  80. .B dumper
  81. with the name of the first filesystem in the list that has yet to be
  82. dumped.
  83. .PP
  84. The list of filesystems to dump is contained in
  85. .BR /sprite/admin/dump/dumplist .
  86. If
  87. .B weeklydump
  88. is invoked with the name of a filesystem, it starts with that
  89. filesystem, skipping over the filesystems that appear before it in the
  90. list.  If
  91. .B weeklydump
  92. is not given the name of a filesystem, it looks for the starting
  93. filesystem in
  94. .BR /sprite/admin/dump/doingweekly .
  95. If that file is empty, 
  96. .B weeklydump
  97. simply starts at the top of the list.
  98. .PP
  99. .B Weeklydump
  100. puts the name of the current user in
  101. .BR /sprite/admin/dump/dumpalias .
  102. Mail sent to the ``dumper'' alias is sent to the user named in this
  103. file.  
  104. .B Weeklydump
  105. also creates the file
  106. .BR /sprite/admin/dump/doingweekly ,
  107. which disables the daily dumps.  This
  108. file is removed when the weekly dumps complete.
  109. .PP
  110. If 
  111. .B weeklydump
  112. detects an error, it sends mail to
  113. .B dumper
  114. and exits.  It also creates a status file, so that if the machine
  115. running the weekly dumps
  116. crashes while the dumps are running, mail will be sent to
  117. .B dumper
  118. when the machine reboots, telling about the crash.
  119. .PP
  120. If
  121. .B weeklydump
  122. is invoked with the 
  123. .B \-i 
  124. flag, it will initialize the tapes in both tape
  125. drives before starting.
  126.  
  127. .SH FILES
  128. All the following files are in /sprite/admin/dump:
  129. .IP doingweekly 15
  130. lock file to prevent daily dump from running.  Names the filesystem
  131. currently being dumped.
  132. .IP doingweekly.active 15
  133. status file used to detect crashes.  Contains the name of the host
  134. running the dumps.
  135. .IP dumpalias 15
  136. User name of the current dumper, for error and status messages.
  137. .IP dumpdates 15
  138. list of filesystems dumped, at what time, what tape, etc.
  139. .IP dumplist 15
  140. list of file systems to dump.
  141. .IP dumplog 15
  142. very large status log from the dump programs
  143. .IP tapelist 15
  144. list of tape devices uses for the dump
  145.  
  146. .SH KEYWORDS
  147. dump, tape, backup
  148. @
  149.  
  150.  
  151. 1.4
  152. log
  153. @Documented tapelist file.
  154. @
  155. text
  156. @d9 1
  157. a9 1
  158. '\" $Header: /sprite/src/admin/weeklydump/RCS/weeklydump.man,v 1.3 91/08/29 19:13:30 kupfer Exp $ SPRITE (Berkeley)
  159. d89 2
  160. a90 1
  161. status file used to detect crashes.
  162. @
  163.  
  164.  
  165. 1.3
  166. log
  167. @Explain how errors are handled.  Explanation of magic dump-related
  168. files.  Minor tweaks.
  169. @
  170. text
  171. @d9 1
  172. a9 1
  173. '\" $Header: /sprite/src/admin/weeklydump/RCS/weeklydump.man,v 1.2 91/08/26 11:48:14 shirriff Exp Locker: kupfer $ SPRITE (Berkeley)
  174. d98 2
  175. @
  176.  
  177.  
  178. 1.2
  179. log
  180. @Updated documentation.
  181. @
  182. text
  183. @d9 1
  184. a9 1
  185. '\" $Header: /sprite/src/admin/weeklydump/RCS/weeklydump.man,v 1.1 90/12/17 18:20:12 kupfer Exp Locker: shirriff $ SPRITE (Berkeley)
  186. d18 1
  187. a18 1
  188. \fBweeklydump\fR [-i] [\fIstartFs\fR]
  189. d22 2
  190. a23 2
  191. .IP "-i" 15
  192. Initialize the tape drives first with "dump -r -f [device]".
  193. d40 2
  194. d46 8
  195. a53 1
  196. list.
  197. d56 19
  198. a74 3
  199. also modifies the "dumper" mail alias and creates the file
  200. "/sprite/admin/dump/doingweekly".  This file disables the daily dumps.  The
  201. file is removed when weekly dumps complete.
  202. d78 5
  203. a82 6
  204. is invoked with the "-i" flag, it will initialize the tapes in both tape
  205. drives and then continue with the dump.
  206. .PP
  207. It's a good idea to check 
  208. .B /sprite/admin/dump/dumplog
  209. after finishing the dumps, to see if there were any errors.
  210. d84 14
  211. a97 2
  212. .PP
  213. /sprite/admin/dump/dumplist contains the file systems to dump.
  214. @
  215.  
  216.  
  217. 1.1
  218. log
  219. @Initial revision
  220. @
  221. text
  222. @d9 1
  223. a9 1
  224. '\" $Header: /sprite/lib/forms/RCS/cmd.man,v 1.2 90/02/20 17:11:01 douglis Exp $ SPRITE (Berkeley)
  225. d18 1
  226. a18 1
  227. \fBweeklydump\fR [\fIstartFs\fR]
  228. d22 2
  229. d31 1
  230. a31 1
  231. The script has hard-coded a list of filesystems and tape devices.  It
  232. d46 10
  233. d59 3
  234. @
  235.